package com.example.validated.annotation;

import javax.validation.GroupSequence;
import javax.validation.groups.Default;

/**
 * https://blog.csdn.net/qq_43409973/article/details/131291055
 * 自定义校验顺序
 */
@GroupSequence({VerifySeq.N0.class, VerifySeq.N1.class, VerifySeq.N2.class,VerifySeq.N3.class,
        VerifySeq.N4.class,VerifySeq.N5.class,VerifySeq.N6.class, VerifySeq.N7.class,
        VerifySeq.N8.class, VerifySeq.N9.class, Default.class})
public interface VerifySeq {
    interface N0 {
    }
    interface N1 {
    }
    interface N2 {
    }
    interface N3 {
    }
    interface N4 {
    }
    interface N5 {
    }
    interface N6 {
    }
    interface N7{
    }
    interface N8 {
    }
    interface N9 {
    }

}
